LearnPress\Models\UserItems\UserCourseModel A

Total Complexity 74
Dependencies 13
Dependents 6
Total lines 569
Lines of code 349
Logical lines of code 234
Comment lines 128
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
calculate_course_results()
B
36 14 81
evaluate_course_by_question()
A
43 10 49
evaluate_course_by_final_quiz()
A
44 9 45
evaluate_course_by_questions()
S
56 6 17
evaluate_course_by_mark()
S
56 6 17
get_item_attend()
S
51 4 27
count_items_completed()
S
52 4 24
evaluate_course_by_lesson()
S
58 4 15
evaluate_course_by_quizzes_passed()
S
58 4 15
count_students()
S
55 3 20
get_last_user_course()
S
60 2 13
__construct()
S
72 2 6
get_course_model()
S
71 2 6
has_enrolled_or_finished()
S
79 2 3
clean_caches()
S
67 1 8
is_finished()
S
80 1 3